package com.yuanqi.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanqi.Common.Pojo.Vo.UserPageVo;
import com.yuanqi.Common.Pojo.entity.User;
import com.yuanqi.Common.Pojo.entity.Userinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from userinfo where  user_id = #{id}")
    Userinfo selectUserInfo(Long id);

    UserPageVo getUserPage(Long userId);
}
